﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SQT.tracnghiem.Ajax.ASP.Events
{
    public partial class add_player : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        
        public bool check_player(string[] player, int id)
        {
            for(int i=0;i<player.Length-1;i++)
            {
                if (id == int.Parse(player[i]))
                    return true;
            }
            return false;
        }
    }
}